package com.example.mongo.appmongo.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author sjw
 * @className DealInfo
 * @date 2021/9/29 15:02
 * @description: TODO
 */

@Document(collection = "app")
public class App {

    @Id
    private String id;

    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
